package com.ease.model;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author nathanleewei
 * 
 */
public class DatabaseWorkspace implements Serializable {

	/**
	 *
	 */
	private static final long serialVersionUID = 353813080121482974L;

	private String workspace;// WORKSPACE VARCHAR2(30) Y
	private long workspaceId;// WORKSPACE_ID INTEGER Y
	private String parentWorkspace;// PARENT_WORKSPACE VARCHAR2(30) Y
	// PARENT_SAVEPOINT VARCHAR2(30) Y
	private String owner;// OWNER VARCHAR2(30) Y
	private Date createTime;// CREATETIME DATE Y
	// DESCRIPTION VARCHAR2(1000) Y
	private Date freezeStatus;// FREEZE_STATUS VARCHAR2(8) Y

	// FREEZE_MODE VARCHAR2(20) Y
	// FREEZE_WRITER VARCHAR2(30) Y
	// FREEZE_OWNER VARCHAR2(30) Y
	// SESSION_DURATION VARCHAR2(3) Y
	// CURRENT_SESSION VARCHAR2(3) Y
	// RESOLVE_STATUS VARCHAR2(8) Y
	// RESOLVE_USER VARCHAR2(30) Y
	// CONTINUALLY_REFRESHED VARCHAR2(3) Y
	// WORKSPACE_LOCKMODE VARCHAR2(19) Y
	// WORKSPACE_LOCKMODE_OVERRIDE VARCHAR2(3) Y
	// MP_ROOT_WORKSPACE VARCHAR2(30) Y

	/**
	 * @return the workspace
	 */
	public String getWorkspace() {
		return workspace;
	}

	/**
	 * @param workspace
	 *            the workspace to set
	 */
	public void setWorkspace(String workspace) {
		this.workspace = workspace;
	}

	/**
	 * @return the workspaceId
	 */
	public long getWorkspaceId() {
		return workspaceId;
	}

	/**
	 * @param workspaceId
	 *            the workspaceId to set
	 */
	public void setWorkspaceId(long workspaceId) {
		this.workspaceId = workspaceId;
	}

	/**
	 * @return the parentWorkspace
	 */
	public String getParentWorkspace() {
		return parentWorkspace;
	}

	/**
	 * @param parentWorkspace
	 *            the parentWorkspace to set
	 */
	public void setParentWorkspace(String parentWorkspace) {
		this.parentWorkspace = parentWorkspace;
	}

	/**
	 * @return the owner
	 */
	public String getOwner() {
		return owner;
	}

	/**
	 * @param owner
	 *            the owner to set
	 */
	public void setOwner(String owner) {
		this.owner = owner;
	}

	/**
	 * @return the createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * @param createTime
	 *            the createTime to set
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
	 * @return the freezeStatus
	 */
	public Date getFreezeStatus() {
		return freezeStatus;
	}

	/**
	 * @param freezeStatus
	 *            the freezeStatus to set
	 */
	public void setFreezeStatus(Date freezeStatus) {
		this.freezeStatus = freezeStatus;
	}

}
